//
//  GiftListDataSource.h
//  tcpoctest
//
//  Created by gump on 5/22/13.
//  Copyright (c) 2013 gump. All rights reserved.
//

@class giftlistDataInfo;

@interface GiftListDataSource : NSObject
{
    NSMutableArray          *GLShowArr;
    NSMutableDictionary     *GLDic;
    NSMutableDictionary     *GLImageDic;
    NSMutableDictionary     *GLDownImageDic;
    
    pthread_mutex_t         mutexGL;
    pthread_mutex_t         mutexGLDown;
}

-(void)AddGiftList:(int)iid withGiftInfo:(giftlistDataInfo *)giftinfo;
-(void)delAllList;
-(int)GetShowArrCount;
-(NSString *)GetNameByRow:(int)irow;
-(NSString *)GetUrlByRow:(int)irow;
-(int)GetGiftIDByRow:(int)irow;

-(void)delImageDic;
-(void)InsertImageDicByID:(int)iid withPath:(NSString *)strpath;
-(NSString *)searchPathByRow:(int)irow;
-(void)DownLoadImageArr;
@end
